package org.openshp.unifiedweb.vaadin.concrete;

import org.openshp.unifiedweb.api.interfaces.Component;
import org.openshp.unifiedweb.api.interfaces.Panel;


public class VPanel extends VComponent implements Panel {

	public VPanel() {
		setRawComponent(new com.vaadin.ui.Panel());
	}
	
	public void addComponent(Component component) {
		getRawPanel().addComponent(((VComponent)component).getRawComponent());
	}
	
	com.vaadin.ui.Panel getRawPanel() {
		return (com.vaadin.ui.Panel)getRawComponent();
	}	
}